﻿<%@ Page Title="Form Test" Language="C#" MasterPageFile="~/Admin.master" AutoEventWireup="true"
    CodeBehind="wfrmProductType.aspx.cs" Inherits="BFOAuction.Product.wfrmProductType" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="head">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="ContentPlaceHolder1">
       <div class="dleft">
            <div class="divrow2col">
                <asp:Label ID="Label1" runat="server" Text="Mã loại sản phẩm: " Width="113px"></asp:Label>
                <asp:TextBox class="textbox" ID="txtProductTypeID" runat="server" Width="200px"></asp:TextBox>
            </div>
                       
           <div class="divrow2col">
                <asp:Label ID="Label2" runat="server" Text="Tên loại sản phẩm: " Width="113px"></asp:Label>
                <asp:TextBox class="textbox" ID="txtProductTypeName" runat="server" Width="200px"></asp:TextBox>
           </div>

           <div class="divrow2col">
                <asp:Label ID="Label3" runat="server" Text="Ghi chú: " Width="113px"></asp:Label>
                <asp:TextBox class="textbox" ID="txtNote" runat="server" Width="200px"></asp:TextBox>
           </div>

           <div class="divrow2col" style="margin-top:10px; margin-left:10px">
                <asp:Button ID="btnUpdate" runat="server" Text="Cập nhật" Width="100px" 
                    onclick="btnUpdate_Click"></asp:Button>
                <asp:Button ID="btnUndo" runat="server" Text="Bỏ qua" Width="100px" 
                    onclick="btnUndo_Click" ></asp:Button>
                <asp:Button ID="btnDelete" runat="server" Text="Xóa" Width="100px" 
                    onclick="btnDelete_Click" ></asp:Button>
           </div>
       </div>
       <div class="dRight">
       <asp:GridView ID="Grid" runat="server" AutoGenerateColumns="False" 
               onselectedindexchanged="Grid_SelectedIndexChanged">
           <Columns>
               <asp:BoundField HeaderText="ID"  DataField="s_ID"  ShowHeader="false" />
               
               <asp:BoundField HeaderText="Mã loại SP" DataField="ProductTypeID">
               <HeaderStyle Width="120px" />
               </asp:BoundField>

               <asp:BoundField HeaderText="Tên loại SP" DataField="ProductTypeName">
               <HeaderStyle Width="150px" />
               </asp:BoundField>

               <asp:BoundField HeaderText="Ghi chú" DataField="Note">
               <HeaderStyle Width="200px" />
               </asp:BoundField>

               <asp:CommandField HeaderText="Chọn" SelectText="Chọn" ShowSelectButton="True" >
               <HeaderStyle Width="50px" />
               </asp:CommandField>
               
           </Columns>
           <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <SelectedRowStyle BackColor="Teal" ForeColor="Maroon" Font-Bold="True" />
            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <AlternatingRowStyle BackColor="White" />
            <RowStyle BackColor="#EFF3FB" />
            <EditRowStyle BackColor="#2461BF" />
           </asp:GridView>
       </div>
</asp:Content>

